package com.atguigu.blog.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author CF
 * @date 2023/8/19 15:26
 * 专门封装分页数据的类
 * 在类后面加一个泛型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> implements Serializable {
    private List<T> list;
    private long totalCount;
}
